Product Documentation

FairCom RTG COBOL User Guide

Previous Topic

Next Topic

<[Action]> do elements

The action elements define which action to execute for the current rule. If a <when> element is also defined, the actions will be executed only if all conditions are verified.

There are 4 different types of action elements:

  • <add> This action adds new attributes to the matching element in the XDD file. The attributes will be added only if they do not exist.
  • <set> This action changes the value of the attributes to the matching element in the XDD file. If the specified attributes do not exist they will be added.
  • <modify> This action changes the value of the attributes to the matching element in the XDD file. The attributes will be changed only if they exist.
  • <delete> This action removes an existing attribute to the matching element in the XDD file.

<XFDrules>

<rule>

<do>

<"Action">

</"Action">

</do>

</rule>

</XFDrules>

Elements

Element

Description

Target

Defines the target to identify which element the rule touches. This element can be specified multiple times to apply more changes in the XDD file.

See Also

TOCIndex